package com.billowsoft.blog.bean;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Article")
public class Article {

	String id;
	String title;
	String content;
	boolean privateFlag;
	long createdDateMilliseconds;

	@XmlElement
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@XmlElement
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@XmlElement
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@XmlElement
	public boolean isPrivateFlag() {
		return privateFlag;
	}

	public void setPrivateFlag(boolean privateFlag) {
		this.privateFlag = privateFlag;
	}

	@XmlElement
	public long getCreatedDateMilliseconds() {
		return createdDateMilliseconds;
	}

	public void setCreatedDateMilliseconds(long createdDateMilliseconds) {
		this.createdDateMilliseconds = createdDateMilliseconds;
	}

}